package com.yznote.cloudesk.common.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import java.time.LocalDateTime;

/**
 * @author : xiaozhoutongxue
 * @date : 2022/11/8 16:54
 */
@Data
@ToString
public class YLogs {
    private Long logsId;
    private Long userId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime requestTime;
    private String moduleName;
    private String methodName;
    private String requestType;
    private String requestIp;
    private String requestParam;
    private String requestResult;
    private Long costTime;
    /**
     * 0为正常
     * 1为异常
     */
    private Integer status;
}
